﻿using System;
using System.Collections.Generic;
using System.Threading;

namespace Pfz.RemoteGaming.Internal
{
	[Serializable]
	internal sealed class _VolatileValues
	{
		private static long _versionGenerator;

		internal long _version;
		internal readonly KeyValuePair<long, object[]>[] _values;
		internal _VolatileValues(KeyValuePair<long, object[]>[] values)
		{
			_version = Interlocked.Increment(ref _versionGenerator);
			_values = values;
		}
	}
}
